package com.example.nacos.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "spring-cloud-nacos-server", path = "/nacos-server", contextId = "deregisterServiceProxy")
public interface DeregisterServiceProxy {

    @RequestMapping("/deregister")
    String deregister(@RequestParam("status") String status);
}
